package com.uzai.console.dto.feign.tborder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("淘宝维权订单通过API下载参数")
@Data
public class TbOrderRefundDownloadDto {
    @ApiModelProperty("淘宝联盟token")
    private String accessToken;
    @ApiModelProperty("淘宝联盟账号id")
    private Long userId;
    @ApiModelProperty("淘宝联盟账号名称")
    private String userName;
    @ApiModelProperty("查询时间类型,(1：维权创建，3:维权完成时间，5-更新时间)")
    private Integer queryType;
    @ApiModelProperty("查询开始时间")
    private Integer beginTime;
    @ApiModelProperty("查询结束时间")
    private Integer endTime;
    @ApiModelProperty("1代表渠道关系id，2代表会员关系id")
    private Integer bizType;
    @ApiModelProperty("转链类型（0-返利；1-导购）")
    private Integer turnlink;

    public Integer getTurnlink() {
        if(turnlink == null){
            turnlink = 0;
        }
        return turnlink;
    }

    public void setTurnlink(Integer turnlink) {
        this.turnlink = turnlink;
    }
}
